//
// Decompiled by Jadx - 374ms
//
package fp;

import fn.j;
import fn.x;
import fo.c;
import java.util.Iterator;
import java.util.List;
import o.a;
import org.luckypray.dexkit.query.matchers.AnnotationMatcher;
import org.luckypray.dexkit.query.matchers.FieldMatcher;
import org.luckypray.dexkit.query.matchers.MethodMatcher;
import org.luckypray.dexkit.result.ClassData;
import org.luckypray.dexkit.result.MethodData;
import org.luckypray.dexkit.result.MethodDataList;

@a("DY")
public final class z extends x {
    public static String cp;
    public static String cq;
    public static String cr;
    public static String cs;
    public ClassData ct;
    public MethodDataList cu;
    public boolean cv;

    public final void a() {
        this.ct = (ClassData) cg.a.ag.first();
        MethodData t = c.t(MethodMatcher.create().name("toString").usingStrings(new String[]{"(isUsable=", ", tabType="}));
        if (t.getDeclaredClass() != null) {
            cr = c.p(FieldMatcher.create().declaredClass(t.getDeclaredClass().getName()).addAnnotation(AnnotationMatcher.create().usingStrings(new String[]{"tab_id"}))).getFieldName();
            cs = c.p(FieldMatcher.create().declaredClass(t.getDeclaredClass().getName()).addAnnotation(AnnotationMatcher.create().usingStrings(new String[]{"tab_title"}))).getFieldName();
        }
        if (this.ct != null) {
            MethodDataList z = c.z(MethodMatcher.create().declaredClass(this.ct.getName()).returnType(List.class));
            this.cu = z;
            if (z.size() > 1) {
                cp = ((MethodData) this.cu.get(0)).getMethodName();
                cq = ((MethodData) this.cu.get(1)).getMethodName();
                a aVar = new a(this);
                Iterator it = cg.a.ag.iterator();
                while (it.hasNext()) {
                    j.bd(((ClassData) it.next()).getName(), cq, new Object[]{aVar});
                }
            }
        }
    }
}
